package com.ruoyi.plus.pub.api.po;

import com.ruoyi.plus.constants.PlusDictConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 常用语对象 pub_common_words
 *
 *
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel()
public class PubCommonWordsQueryPo implements Serializable{
    /**
     * 页码
     */
    @ApiModelProperty(value = "页码(默认1)", example = "1")
    private int pageNum = 1;

    /**
     * 每页条数
     */
    @ApiModelProperty(value = "每页条数(默认10)", example = "10")
    private int pageSize = 10;

    /** ID */
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty(value = PlusDictConstants.SYSTEM_TYPE_ALL,required = true)
    @NotBlank
    private String systemType;

    /** 常用语类型(1:常用地址;2:常见问题) */
    @ApiModelProperty(value = "常用语类型(1:常用地址;2:常见问题)",required = true)
    @NotBlank
    private String type;

    /** 常用语 */
    @ApiModelProperty("常用语")
    private String content;


}
